#region Using Directives

using System;
using Microsoft.Practices.ComponentModel;
using Microsoft.Practices.RecipeFramework;

#endregion

namespace EEst.SoftwareFactory.Actions
{
    class GetNewGuidAction : Action
    {
        #region Input Properties


        #endregion

        #region Output Properties

        [Output]
        public string NewID
        {
            get { return newID; }
            set { newID = value; }
        } string newID;

        #endregion

        #region IAction Members

        public override void Execute()
        {
            newID= Guid.NewGuid().ToString().ToUpper();
        }

        public override void Undo()
        {
            ;
        }

        #endregion
    }
}
